const initState = '主页'
export default (state = initState, action) => {
    switch (action.type) {
        case "CHANGE_NAME":
            return action.payload;
            default:
                break
    }
    return state
}